﻿using FreeSql.Internal.Model;
using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace WPF.Core.Dtos
{
    public class ToDoModel : BaseModel
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
    }

    public class ToDoPagingInfo : PageingInfo
    {
        private string name = "";

        public string Name
        {
            get { return name; }
            set { name = value; RaisePropertyChanged(); }
        }
    }
}
